#include <iostream>
#include <vector>
#include <climits>
using namespace std;

int main() {
    // 1_9
    int a=50;
    int sum=0;
    while(a<=100)
    {
       sum+=a++; 
    } 
    cout<<sum<<endl;

    // 1_10
    int b=10;
    while(b>=0)
    {
        cout<<b--<<" ";
    }
    cout<<endl;

    // 1_11
    int min,max;
    cin>>min>>max;
    int i=min;
    while(i<=max)
    {
        cout<<i++<<" ";
    }
    cout<<endl;

    return 0;
}